home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / UTIL / TouchMe 1.1.1.sit / touchMe 1.11 Folder / CW9 PP source / source / Common / LPrefsFile.h < prev    next >
Text File  |  1996-08-08  |  909b  |  36 lines

  1. // ==================================================
  2. //    LPrefsFile.h
  3. //    Copyright (C) 1996 Mizutori Tetsuya, July 4 1996.
  4. // ==================================================
  5. //    All documents are pretty-printed in Geneva 10-point font.
  6.  
  7. #pragma once
  8.  
  9. #include <LPreferencesFile.h>
  10.  
  11.  
  12. class    LPrefsFile : public LPreferencesFile {
  13.  
  14. public:
  15.                     LPrefsFile();
  16.                     LPrefsFile( ConstStr255Param inFileName );
  17.     virtual             ~LPrefsFile();
  18.  
  19. protected:
  20.  
  21.     void                SetupFileInfo( OSType inPrefFileType, OSType inPrefFileCreator );
  22.     void                SetupResType( ResType inPrefResType, ResIDT inPrefResID );
  23.  
  24.     OSErr            LoadPref( void * outBlockDataPtr, const Size inByteSize );
  25.     OSErr            SavePref( const void * inBlockDataPtr, const Size inByteSize );
  26.  
  27. private:
  28.  
  29.     OSType            mPrefFileType;        // 'pref'
  30.     OSType            mPrefFileCreator;    // 'MzTm'
  31.     ResType            mPrefResType;        // 'PREF'
  32.     ResIDT            mPrefResID;        // 1000
  33. };
  34.  
  35. // end of definitions
  36.